package com.tencent.sr.iris.basic.saas.common.exception;

import com.tencent.sr.rmall.common.exception.code.ErrorCode;
import lombok.AllArgsConstructor;

/**
 * @author nixiaolin
 * @date 2022/9/27 16:20
 */
@AllArgsConstructor
public enum TaskBrokerErrorCode implements ErrorCode {

    CHECK_GROUP_IDENTITY("", "当前用户不是团长"),
    CHECK_ADVISOR_IDENTITY("", "当前用户不是导师")
            ;

    private String code;

    private String description;

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getDescription() {
        return this.description;
    }
}
